package com._23DesignPattern._action._visitor.demo1;

/**
 * @Author: huangya
 * @Date: 2020/09/12
 * @Description:
 */
public class ConcreteElementB implements Element {

    public void accept(Visitor visitor) {
        visitor.visit(this);
    }

    public String operationB() {
        return "具体元素B的操作。";
    }
}